package org.itboys.core.dro.order;

import lombok.Data;
import org.itboys.core.common.NotNull;
import org.itboys.core.dro.common.BaseDro;

import java.util.List;

/**
 * 作者：zzq
 * 时间：2018/12/6
 * 描述：
 */
@Data
public class SundaySendOrderDro extends BaseDro {
    @NotNull(message = "租赁方式")
    private Integer type;//租赁方式  1，日租  2，月租  3，季租
    @NotNull(message = "时间")
    private Long time;//时间  多少天  多少月
    @NotNull(message = "取托方式")
    private Integer getType;//取托方式   1.送货上门   2.租户自取
    @NotNull(message = "取托时间")
    private String getTime;//取托时间
    @NotNull(message = "送托省份id")
    private Long sendProvinceId;//送托省份id
    @NotNull(message = "送托省份")
    private String sendProvince;//送托省份
    @NotNull(message = "送托城市id")
    private Long sendCityId;//送托城市id
    @NotNull(message = "送托城市")
    private String sendCity;//送托城市
    @NotNull(message = "送托区域id")
    private Long sendDistrictId;//送托区域id
    @NotNull(message = "送托区域")
    private String sendDistrict;//送托区域
    @NotNull(message = "送托地址")
    private String sendAddress;//送托地址


    @NotNull(message = "预计回收时间")
    private String recycleDate;
    @NotNull(message = "回收省份id")
    private Long recycleProvinceId;//回收省份id
    @NotNull(message = "回收省份")
    private String recycleProvince;//回收省份
    @NotNull(message = "回收城市id")
    private Long recycleCityId;//回收城市id
    @NotNull(message = "回收城市")
    private String recycleCity;//回收城市
    @NotNull(message = "回收区域id")
    private Long recycleDistrictId;//回收区域id
    @NotNull(message = "回收区域")
    private String recycleDistrict;//回收区域
    @NotNull(message = "回收地址")
    private String recycleAddress;//回收地址
    @NotNull(message = "订单模板")
    List<SundaySendOrderModelDro> models;

}
